Skip to content

Allow providers to provide completions based on raw query text #1502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

takemyoxygen
Copy link

@takemyoxygen takemyoxygen commented Jul 20, 2025

Adding a way for different providers to provide completions based on raw query text and current cursor.

The motivation is that some drivers can use SQL dialect not supported by Hue. In these cases, Hue fails to provide any completions at all, for example: #1453 .
It seems reasonable to allow these rare drivers to opt out of using Hue and take burden of parsing the query and providing completions by themselves.


Thank you for your contribution!
Before submitting this PR, please make sure:

  • Your code builds clean without any errors or warnings
  • You have made the needed changes to the docs
  • You have written a description of what is the purpose of this pull request above

@takemyoxygen takemyoxygen force-pushed the providers-to-complete-from-raw-sql branch from 05fa463 to d8f649f Compare July 20, 2025 08:33
@takemyoxygen takemyoxygen marked this pull request as ready for review July 20, 2025 08:50
@takemyoxygen takemyoxygen changed the title WIP: Allow providers to provide completions based on raw query text Allow providers to provide completions based on raw query text Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant